{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "informed-damages",
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "skilled-retention",
   "metadata": {},
   "outputs": [],
   "source": [
    "src_data = pd.read_excel(r'D:\\Programming\\Python\\PlayTogether_Data\\book1\\pokemon.xlsx', 'pokemon_chn')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "arabic-fight",
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "      中文名称 classfication type1 type2                           特性  \\\n",
      "0     妙蛙种子         种子宝可梦    草系    毒系               ['茂盛', '叶绿素'],   \n",
      "1      妙蛙草         种子宝可梦    草系    毒系               ['茂盛', '叶绿素'],   \n",
      "2      妙蛙花         种子宝可梦    草系    毒系               ['茂盛', '叶绿素'],   \n",
      "3      小火龙         蜥蜴宝可梦    火系   NaN              ['猛火', '太阳之力'],   \n",
      "4      火恐龙         火焰宝可梦    火系   NaN              ['猛火', '太阳之力'],   \n",
      "..     ...           ...   ...   ...                          ...   \n",
      "698  磨牙彩皮鱼         磨牙宝可梦    水系  超能力系   ['鲜艳之躯', '强壮之颚', '奇幻皮肤 '],   \n",
      "699    老翁龙         悠游宝可梦   一般系    龙系      ['怒火冲天', '食草', '无关天气'],   \n",
      "700    心鳞宝         鳞片宝可梦    龙系   NaN          ['防弹', '隔音', '防尘'],   \n",
      "701    鳞甲龙         鳞片宝可梦    龙系   格斗系          ['防弹', '隔音', '防尘'],   \n",
      "702  杖尾鳞甲龙         鳞片宝可梦    龙系   格斗系          ['防弹', '隔音', '防尘'],   \n",
      "\n",
      "     against_bug  against_dark  against_dragon  against_electric  \\\n",
      "0            1.0           1.0             1.0               0.5   \n",
      "1            1.0           1.0             1.0               0.5   \n",
      "2            1.0           1.0             1.0               0.5   \n",
      "3            0.5           1.0             1.0               1.0   \n",
      "4            0.5           1.0             1.0               1.0   \n",
      "..           ...           ...             ...               ...   \n",
      "698          2.0           2.0             1.0               2.0   \n",
      "699          1.0           1.0             2.0               0.5   \n",
      "700          1.0           1.0             2.0               0.5   \n",
      "701          0.5           0.5             2.0               0.5   \n",
      "702          0.5           0.5             2.0               0.5   \n",
      "\n",
      "     against_fairy  ...  hp        name  percentage_male  pokedex_number  \\\n",
      "0              0.5  ...  45   Bulbasaur             88.1               1   \n",
      "1              0.5  ...  60     Ivysaur             88.1               2   \n",
      "2              0.5  ...  80    Venusaur             88.1               3   \n",
      "3              0.5  ...  39  Charmander             88.1               4   \n",
      "4              0.5  ...  58  Charmeleon             88.1               5   \n",
      "..             ...  ...  ..         ...              ...             ...   \n",
      "698            1.0  ...  68     Bruxish             50.0             779   \n",
      "699            2.0  ...  78      Drampa             50.0             780   \n",
      "700            2.0  ...  45    Jangmo-o             50.0             782   \n",
      "701            4.0  ...  55    Hakamo-o             50.0             783   \n",
      "702            4.0  ...  75     Kommo-o             50.0             784   \n",
      "\n",
      "     sp_attack  sp_defense  speed  weight_kg  generation  is_legendary  \n",
      "0           65          65     45        6.9           1             0  \n",
      "1           80          80     60       13.0           1             0  \n",
      "2          122         120     80      100.0           1             0  \n",
      "3           60          50     65        8.5           1             0  \n",
      "4           80          65     80       19.0           1             0  \n",
      "..         ...         ...    ...        ...         ...           ...  \n",
      "698         70          70     92       19.0           7             0  \n",
      "699        135          91     36      185.0           7             0  \n",
      "700         45          45     45       29.7           7             0  \n",
      "701         65          70     65       47.0           7             0  \n",
      "702        100         105     85       78.2           7             0  \n",
      "\n",
      "[703 rows x 41 columns]\n"
     ]
    }
   ],
   "source": [
    "print(src_data)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "broken-comparison",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<class 'pandas.core.frame.DataFrame'>\n",
      "RangeIndex: 703 entries, 0 to 702\n",
      "Data columns (total 41 columns):\n",
      " #   Column             Non-Null Count  Dtype  \n",
      "---  ------             --------------  -----  \n",
      " 0   中文名称               703 non-null    object \n",
      " 1   classfication      688 non-null    object \n",
      " 2   type1              703 non-null    object \n",
      " 3   type2              357 non-null    object \n",
      " 4   特性                 703 non-null    object \n",
      " 5   against_bug        703 non-null    float64\n",
      " 6   against_dark       703 non-null    float64\n",
      " 7   against_dragon     703 non-null    float64\n",
      " 8   against_electric   703 non-null    float64\n",
      " 9   against_fairy      703 non-null    float64\n",
      " 10  against_fight      703 non-null    float64\n",
      " 11  against_fire       703 non-null    float64\n",
      " 12  against_flying     703 non-null    float64\n",
      " 13  against_ghost      703 non-null    float64\n",
      " 14  against_grass      703 non-null    float64\n",
      " 15  against_ground     703 non-null    float64\n",
      " 16  against_ice        703 non-null    float64\n",
      " 17  against_normal     703 non-null    float64\n",
      " 18  against_poison     703 non-null    float64\n",
      " 19  against_psychic    703 non-null    float64\n",
      " 20  against_rock       703 non-null    float64\n",
      " 21  against_steel      703 non-null    float64\n",
      " 22  against_water      703 non-null    float64\n",
      " 23  attack             703 non-null    int64  \n",
      " 24  base_egg_steps     703 non-null    int64  \n",
      " 25  base_happiness     703 non-null    int64  \n",
      " 26  base_total         703 non-null    int64  \n",
      " 27  capture_rate       703 non-null    int64  \n",
      " 28  defense            703 non-null    int64  \n",
      " 29  experience_growth  703 non-null    int64  \n",
      " 30  height_m           684 non-null    float64\n",
      " 31  hp                 703 non-null    int64  \n",
      " 32  name               703 non-null    object \n",
      " 33  percentage_male    703 non-null    float64\n",
      " 34  pokedex_number     703 non-null    int64  \n",
      " 35  sp_attack          703 non-null    int64  \n",
      " 36  sp_defense         703 non-null    int64  \n",
      " 37  speed              703 non-null    int64  \n",
      " 38  weight_kg          684 non-null    float64\n",
      " 39  generation         703 non-null    int64  \n",
      " 40  is_legendary       703 non-null    int64  \n",
      "dtypes: float64(21), int64(14), object(6)\n",
      "memory usage: 225.3+ KB\n",
      "None\n"
     ]
    }
   ],
   "source": [
    "print(src_data.info())\n",
    "# 注意：info后面的括号"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "considerable-geometry",
   "metadata": {},
   "outputs": [],
   "source": [
    "# 分析[中文名称, attack, defense, capture_rate, percentage_male, generation]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "seven-karaoke",
   "metadata": {},
   "outputs": [],
   "source": [
    "new_data = src_data[['中文名称', 'attack', 'defense', 'capture_rate', 'percentage_male', 'generation']]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "fatty-rating",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>中文名称</th>\n",
       "      <th>attack</th>\n",
       "      <th>defense</th>\n",
       "      <th>capture_rate</th>\n",
       "      <th>percentage_male</th>\n",
       "      <th>generation</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>妙蛙种子</td>\n",
       "      <td>49</td>\n",
       "      <td>49</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>妙蛙草</td>\n",
       "      <td>62</td>\n",
       "      <td>63</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>妙蛙花</td>\n",
       "      <td>100</td>\n",
       "      <td>123</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>小火龙</td>\n",
       "      <td>52</td>\n",
       "      <td>43</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>火恐龙</td>\n",
       "      <td>64</td>\n",
       "      <td>58</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>698</th>\n",
       "      <td>磨牙彩皮鱼</td>\n",
       "      <td>105</td>\n",
       "      <td>70</td>\n",
       "      <td>80</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>699</th>\n",
       "      <td>老翁龙</td>\n",
       "      <td>60</td>\n",
       "      <td>85</td>\n",
       "      <td>70</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>700</th>\n",
       "      <td>心鳞宝</td>\n",
       "      <td>55</td>\n",
       "      <td>65</td>\n",
       "      <td>45</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>701</th>\n",
       "      <td>鳞甲龙</td>\n",
       "      <td>75</td>\n",
       "      <td>90</td>\n",
       "      <td>45</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>702</th>\n",
       "      <td>杖尾鳞甲龙</td>\n",
       "      <td>110</td>\n",
       "      <td>125</td>\n",
       "      <td>45</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>703 rows × 6 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      中文名称  attack  defense  capture_rate  percentage_male  generation\n",
       "0     妙蛙种子      49       49            45             88.1           1\n",
       "1      妙蛙草      62       63            45             88.1           1\n",
       "2      妙蛙花     100      123            45             88.1           1\n",
       "3      小火龙      52       43            45             88.1           1\n",
       "4      火恐龙      64       58            45             88.1           1\n",
       "..     ...     ...      ...           ...              ...         ...\n",
       "698  磨牙彩皮鱼     105       70            80             50.0           7\n",
       "699    老翁龙      60       85            70             50.0           7\n",
       "700    心鳞宝      55       65            45             50.0           7\n",
       "701    鳞甲龙      75       90            45             50.0           7\n",
       "702  杖尾鳞甲龙     110      125            45             50.0           7\n",
       "\n",
       "[703 rows x 6 columns]"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "new_data\n",
    "# 直接打印的排版比print好看。。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "equal-nursery",
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "<ipython-input-15-c3b3087ae505>:2: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  new_data['战斗力'] = (new_data.attack + new_data.defense) / 2\n"
     ]
    }
   ],
   "source": [
    "# 精简数据，合并attack和defense为战斗力\n",
    "new_data['战斗力'] = (new_data.attack + new_data.defense) / 2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "conscious-format",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>中文名称</th>\n",
       "      <th>attack</th>\n",
       "      <th>defense</th>\n",
       "      <th>capture_rate</th>\n",
       "      <th>percentage_male</th>\n",
       "      <th>generation</th>\n",
       "      <th>战斗力</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>妙蛙种子</td>\n",
       "      <td>49</td>\n",
       "      <td>49</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "      <td>49.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>妙蛙草</td>\n",
       "      <td>62</td>\n",
       "      <td>63</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "      <td>62.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>妙蛙花</td>\n",
       "      <td>100</td>\n",
       "      <td>123</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "      <td>111.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>小火龙</td>\n",
       "      <td>52</td>\n",
       "      <td>43</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "      <td>47.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>火恐龙</td>\n",
       "      <td>64</td>\n",
       "      <td>58</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "      <td>61.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>698</th>\n",
       "      <td>磨牙彩皮鱼</td>\n",
       "      <td>105</td>\n",
       "      <td>70</td>\n",
       "      <td>80</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>87.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>699</th>\n",
       "      <td>老翁龙</td>\n",
       "      <td>60</td>\n",
       "      <td>85</td>\n",
       "      <td>70</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>72.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>700</th>\n",
       "      <td>心鳞宝</td>\n",
       "      <td>55</td>\n",
       "      <td>65</td>\n",
       "      <td>45</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>60.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>701</th>\n",
       "      <td>鳞甲龙</td>\n",
       "      <td>75</td>\n",
       "      <td>90</td>\n",
       "      <td>45</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>82.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>702</th>\n",
       "      <td>杖尾鳞甲龙</td>\n",
       "      <td>110</td>\n",
       "      <td>125</td>\n",
       "      <td>45</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>117.5</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>703 rows × 7 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      中文名称  attack  defense  capture_rate  percentage_male  generation    战斗力\n",
       "0     妙蛙种子      49       49            45             88.1           1   49.0\n",
       "1      妙蛙草      62       63            45             88.1           1   62.5\n",
       "2      妙蛙花     100      123            45             88.1           1  111.5\n",
       "3      小火龙      52       43            45             88.1           1   47.5\n",
       "4      火恐龙      64       58            45             88.1           1   61.0\n",
       "..     ...     ...      ...           ...              ...         ...    ...\n",
       "698  磨牙彩皮鱼     105       70            80             50.0           7   87.5\n",
       "699    老翁龙      60       85            70             50.0           7   72.5\n",
       "700    心鳞宝      55       65            45             50.0           7   60.0\n",
       "701    鳞甲龙      75       90            45             50.0           7   82.5\n",
       "702  杖尾鳞甲龙     110      125            45             50.0           7  117.5\n",
       "\n",
       "[703 rows x 7 columns]"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "new_data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "id": "intellectual-specification",
   "metadata": {},
   "outputs": [],
   "source": [
    "new_data = new_data.drop(['attack', 'defense'], axis=1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "id": "surrounded-navigation",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>中文名称</th>\n",
       "      <th>capture_rate</th>\n",
       "      <th>percentage_male</th>\n",
       "      <th>generation</th>\n",
       "      <th>战斗力</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>妙蛙种子</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "      <td>49.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>妙蛙草</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "      <td>62.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>妙蛙花</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "      <td>111.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>小火龙</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "      <td>47.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>火恐龙</td>\n",
       "      <td>45</td>\n",
       "      <td>88.1</td>\n",
       "      <td>1</td>\n",
       "      <td>61.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>698</th>\n",
       "      <td>磨牙彩皮鱼</td>\n",
       "      <td>80</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>87.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>699</th>\n",
       "      <td>老翁龙</td>\n",
       "      <td>70</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>72.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>700</th>\n",
       "      <td>心鳞宝</td>\n",
       "      <td>45</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>60.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>701</th>\n",
       "      <td>鳞甲龙</td>\n",
       "      <td>45</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>82.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>702</th>\n",
       "      <td>杖尾鳞甲龙</td>\n",
       "      <td>45</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>117.5</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>703 rows × 5 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      中文名称  capture_rate  percentage_male  generation    战斗力\n",
       "0     妙蛙种子            45             88.1           1   49.0\n",
       "1      妙蛙草            45             88.1           1   62.5\n",
       "2      妙蛙花            45             88.1           1  111.5\n",
       "3      小火龙            45             88.1           1   47.5\n",
       "4      火恐龙            45             88.1           1   61.0\n",
       "..     ...           ...              ...         ...    ...\n",
       "698  磨牙彩皮鱼            80             50.0           7   87.5\n",
       "699    老翁龙            70             50.0           7   72.5\n",
       "700    心鳞宝            45             50.0           7   60.0\n",
       "701    鳞甲龙            45             50.0           7   82.5\n",
       "702  杖尾鳞甲龙            45             50.0           7  117.5\n",
       "\n",
       "[703 rows x 5 columns]"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "new_data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "id": "governing-nevada",
   "metadata": {},
   "outputs": [],
   "source": [
    "new_data = new_data.rename(columns = {'percentage_male':'女生比率'})\n",
    "new_data['女生比率'] = 100 - new_data['女生比率']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "id": "mental-territory",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>中文名称</th>\n",
       "      <th>capture_rate</th>\n",
       "      <th>女生比率</th>\n",
       "      <th>generation</th>\n",
       "      <th>战斗力</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>妙蛙种子</td>\n",
       "      <td>45</td>\n",
       "      <td>11.9</td>\n",
       "      <td>1</td>\n",
       "      <td>49.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>妙蛙草</td>\n",
       "      <td>45</td>\n",
       "      <td>11.9</td>\n",
       "      <td>1</td>\n",
       "      <td>62.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>妙蛙花</td>\n",
       "      <td>45</td>\n",
       "      <td>11.9</td>\n",
       "      <td>1</td>\n",
       "      <td>111.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>小火龙</td>\n",
       "      <td>45</td>\n",
       "      <td>11.9</td>\n",
       "      <td>1</td>\n",
       "      <td>47.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>火恐龙</td>\n",
       "      <td>45</td>\n",
       "      <td>11.9</td>\n",
       "      <td>1</td>\n",
       "      <td>61.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>698</th>\n",
       "      <td>磨牙彩皮鱼</td>\n",
       "      <td>80</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>87.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>699</th>\n",
       "      <td>老翁龙</td>\n",
       "      <td>70</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>72.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>700</th>\n",
       "      <td>心鳞宝</td>\n",
       "      <td>45</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>60.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>701</th>\n",
       "      <td>鳞甲龙</td>\n",
       "      <td>45</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>82.5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>702</th>\n",
       "      <td>杖尾鳞甲龙</td>\n",
       "      <td>45</td>\n",
       "      <td>50.0</td>\n",
       "      <td>7</td>\n",
       "      <td>117.5</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>703 rows × 5 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      中文名称  capture_rate  女生比率  generation    战斗力\n",
       "0     妙蛙种子            45  11.9           1   49.0\n",
       "1      妙蛙草            45  11.9           1   62.5\n",
       "2      妙蛙花            45  11.9           1  111.5\n",
       "3      小火龙            45  11.9           1   47.5\n",
       "4      火恐龙            45  11.9           1   61.0\n",
       "..     ...           ...   ...         ...    ...\n",
       "698  磨牙彩皮鱼            80  50.0           7   87.5\n",
       "699    老翁龙            70  50.0           7   72.5\n",
       "700    心鳞宝            45  50.0           7   60.0\n",
       "701    鳞甲龙            45  50.0           7   82.5\n",
       "702  杖尾鳞甲龙            45  50.0           7  117.5\n",
       "\n",
       "[703 rows x 5 columns]"
      ]
     },
     "execution_count": 25,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "new_data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "id": "narrative-document",
   "metadata": {},
   "outputs": [],
   "source": [
    "# 按generation分组\n",
    "df = new_data.groupby('generation').agg('mean')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "id": "classical-canyon",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>capture_rate</th>\n",
       "      <th>女生比率</th>\n",
       "      <th>战斗力</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>generation</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>109.507246</td>\n",
       "      <td>44.018116</td>\n",
       "      <td>72.173913</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>96.304348</td>\n",
       "      <td>45.988043</td>\n",
       "      <td>68.994565</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>123.932773</td>\n",
       "      <td>45.944538</td>\n",
       "      <td>71.411765</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>87.588889</td>\n",
       "      <td>43.200000</td>\n",
       "      <td>75.866667</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>110.921429</td>\n",
       "      <td>43.576429</td>\n",
       "      <td>74.125000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>108.723077</td>\n",
       "      <td>45.295385</td>\n",
       "      <td>70.869231</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>99.186441</td>\n",
       "      <td>47.793220</td>\n",
       "      <td>76.101695</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            capture_rate       女生比率        战斗力\n",
       "generation                                    \n",
       "1             109.507246  44.018116  72.173913\n",
       "2              96.304348  45.988043  68.994565\n",
       "3             123.932773  45.944538  71.411765\n",
       "4              87.588889  43.200000  75.866667\n",
       "5             110.921429  43.576429  74.125000\n",
       "6             108.723077  45.295385  70.869231\n",
       "7              99.186441  47.793220  76.101695"
      ]
     },
     "execution_count": 27,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "id": "convertible-sigma",
   "metadata": {},
   "outputs": [],
   "source": [
    "import matplotlib.pyplot as plt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "id": "biological-welding",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.collections.PathCollection at 0x1f7a1f70>"
      ]
     },
     "execution_count": 36,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXAAAAD4CAYAAAD1jb0+AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8rg+JYAAAACXBIWXMAAAsTAAALEwEAmpwYAAARCUlEQVR4nO3de4ydeV3H8feH0sahoIO7A24HsIIwJlJpYcAYr1hLbSS7pUiyG+WaWLwBG00JRcX4h1liVSQxESuXYFwLLkyr8VY3SLz8AWS2XSiXHUnNVncK3UEdV3YnUrtf/+jpMi3TnXOm58yZ3/T9Sk7mnN85zzmfJ5t89unv/M7zpKqQJLXnCcMOIElaGQtckhplgUtSoyxwSWqUBS5JjXrian7YjTfeWFu3bl3Nj5Sk5t1zzz1fqaqxK8dXtcC3bt3K9PT0an6kJDUvyZmlxp1CkaRGWeCS1CgLXJIaZYFLUqMscElq1KquQpGk682xk7McOj7D2fkF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AH69qt433FQr8v3Aq4FTnbljgLdX1V8PL9KK3QR8sPOt+hOAP6uqppffrRNPB45ePFbgicCfVtXfDjfSii11IfUmdf5nugt4Y9/fe60vI5QkLc0pFElqlAUuSY2ywCWpURa4JDXKApekRlngktQoC1ySGvX/5dfsdXIgdRMAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXcAAAD4CAYAAAAXUaZHAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8rg+JYAAAACXBIWXMAAAsTAAALEwEAmpwYAAASMUlEQVR4nO3df6zdd33f8eerjscubPQCvs1iJ6nTNrVaQhvTq2xVlyxaRq+hGXGjtUrUdWmL6mbLJhCSEV6lZUOqoPJ+aVRlckmWVCNBWeOYqAWcKKtwJzWga+xih2BIKAjfhPgW95YxrsBx3vvjfg03l2vuveec6+P7uc+HdHS+5/39fs95f2Xp5e/9fD/ne1JVSJLa8gPDbkCSNHiGuyQ1yHCXpAYZ7pLUIMNdkhp0ybAbANi0aVNt3bp12G1I0ppy+PDhv6qqscXWLRnuSe4FbgZOVdU1XW0v8E+BbwPPAr9eVTNJtgJPAye63Z+sqjuX+oytW7cyOTm5nGORJHWSfPl865YzLHMfsGNB7XHgmqr6KeDzwJ55656tqmu7x5LBLkkavCXDvaoOAacX1B6rqhe7l08Cl69Cb5KkHg3igupvAB+b9/qqJEeSfCLJ9efbKcmuJJNJJqenpwfQhiTpnL7CPclvAy8CH+pKzwNXVtV24J3AA0levdi+VbWvqsaranxsbNHrAZKkHvUc7kl+jbkLrb9S3Q1qqupbVfW1bvkwcxdbf3wAfUqSVqCnqZBJdgDvAv5RVX1zXn0MOF1VZ5P8CHA18MWBdKo14cCRKfYePMFzM7NsHh1h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vAV5Js60o3AWtu4sECtzPgIRlYwz+QneRB4EZgU5KTwN1Vdc9wu+rZzwG/ChzrxqoB/m1VfXR4LfXsMuD+7ur/DwAPVdWankbYgEuBR+bOIbgEeKCqPj7clvryb4APdcMZXwR+fcj99Kz7z/ZNwG8N/L3X6lRISdL5OSwjSQ0y3CWpQYa7JDXIcJekBhnuktQgw12SGmS4S1KD/j9De4wmxMDeHQAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXAAAAD7CAYAAABzGc+QAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8rg+JYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAPIUlEQVR4nO3db2zc913A8fcHJ6xe19RD8aCJVzKt4D6go5lMAQVGSTXMlhCsCrRMFIlNIzAxyDrNYUZICKSqlSyNiD2YVNKVTe1aoE0NascMIovYHrDJrrtlXeapQAZ1OuIJrFLwIEs+PMjPleO68d35Lnffu/dLiur73h9/TpXe/vl7599FZiJJKs/3tHsASVJjDLgkFcqAS1KhDLgkFcqAS1KhDLgkFarmgEdEX0TMRcST1eU7IuLpiHgmIr4QETe1bkxJ0lr1HIEfBk6vuvxx4Fcy81bg08DvN3EuSdIGttRyo4gYAvYB9wAfqpYT2FZ9fT1wdqPH2b59e+7atav+KSWph83Ozn47MwfXrtcUcOAocAS4btXa+4DPRMQy8CLwE+vdMSIOAYcAbrzxRmZmZuoYW5IUEd9cb33DLZSI2A+cy8zZNVfdDbwzM4eAB4GPrnf/zLw/M0cyc2Rw8BU/QCRJDarlCHwPcCAi3glcA2yLiKeAmzPzi9Vt/hz4bItmlCStY8Mj8MycyMyhzNwFHAROAL8IXB8RP1zd7O1c/gKnJKnFat0Dv0xmfj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WH2mzZJExLXVC+RUWw4/BxT37q3M/BbwbxExXC3dART3Yv8a76bJ2ydQwIcaR8QjwO3A9oh4HviDzHygvVM1ZA+XTst7qto7Bvi9zPxM+0Zq2A1cOplZH5cOAv4iM4t++12X+H7giUvHCmwBPp2Zn23vSA37beDhauvhn4H3tHmehlU/TN8O/EbTH7vT30YoSVqfWyiSVCgDLkmFMuCSVCgDLkmFMuCSVCgDLkmFMuCSVKj/B+V6ZOFJ6ANHAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.figure(1)\n",
    "plt.scatter(df.index, df['战斗力'])\n",
    "plt.figure(2)\n",
    "plt.scatter(df.index, df['capture_rate'])\n",
    "plt.figure(3)\n",
    "plt.scatter(df.index, df['女生比率'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "worth-fruit",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
